package com.hollycrm.unicom.sheet.monitor;

import java.util.HashMap;
import java.util.List;

import net.sf.hibernate.Session;
import net.sf.hibernate.HibernateException;
import com.hollycrm.unicom.usersupport.User;
import com.hollycrm.unicom.common.PageViewObject;
import com.hollycrm.unicom.sheet.monitor.SheetMonitorItem;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: </p>
 * @author not attributable
 * @version 1.0
 */

public interface MonitorSheetJob {
  public void checkAlerts() throws Exception;
  public List getRoles();
  public void monitorProcessAlert(Session session, List monitorItems, String alertType, String currentTime) throws HibernateException;
  public void monitorSendSMS(Session session, SheetMonitorItem item) throws HibernateException;
  public boolean checkRole(User user, List roles);
}